package com.ftg.learn.day15.interfacexml.question.mapper;

import com.ftg.learn.day15.interfacexml.question.domain.EmpDomain;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 描述
 *
 * @author 布衣
 * @date 2024/7/16
 */
public interface EmpMapper {

    @Select("select * from emp where deptno = #{deptno}")
    List<EmpDomain> findManyByDeptId(@Param("deptno") Integer deptno);


}
